package com.lyc.pojo;

//用户表
public class Users {
    private int uid; //用户编号
    private String uname; //用户名称
    private String utel;//用户手机号
    private String upass;//用户密码
    private int urole; //用户角色

    public Users() {
    }

    public Users(int uid, String uname, String utel, String upass, int urole) {
        this.uid = uid;
        this.uname = uname;
        this.utel = utel;
        this.upass = upass;
        this.urole = urole;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUtel() {
        return utel;
    }

    public void setUtel(String utel) {
        this.utel = utel;
    }

    public String getUpass() {
        return upass;
    }

    public void setUpass(String upass) {
        this.upass = upass;
    }

    public int getUrole() {
        return urole;
    }

    public void setUrole(int urole) {
        this.urole = urole;
    }

    @Override
    public String toString() {
        return "Users{" +
                "uid=" + uid +
                ", uname='" + uname + '\'' +
                ", utel='" + utel + '\'' +
                ", upass='" + upass + '\'' +
                ", urole=" + urole +
                '}';
    }
}
